package com.niiwoo.civet.trade.report.upload.util.encoders;

import java.io.IOException;
import java.io.OutputStream;

/**
 * 
 * @author wanglei02
 *
 */
public abstract interface Encoder
{
	public abstract int encode(byte[] paramArrayOfByte, int paramInt1, int paramInt2, OutputStream paramOutputStream) throws IOException;
	
	public abstract int decode(byte[] paramArrayOfByte, int paramInt1, int paramInt2, OutputStream paramOutputStream) throws IOException;
	
	public abstract int decode(String paramString, OutputStream paramOutputStream) throws IOException;
}